import { defineComponent, PropType } from "vue";
import { Type } from "./interface";

export const buttonProps = {
  type: {
    type: String as PropType<Type>,
    default: "default",
  }
};

const Button = defineComponent({
  name: "Button",
  props: buttonProps,
  setup(props, { slots }) {
    return {};
  },
  render() {
    return this.$slots.default ? this.$slots.default() : "Button";
  },
});


export default Button;